package com.foreknow.service;

import com.foreknow.model.Admin;

/**
 * 业务层接口
 */
public interface AdminService {
    /**
     * 验证登录
     * @param username
     * @param password
     * @return
     */
    public Admin isValidate(String username, String password);

    /**
     * 保存用户信息
     * @param admin
     * @return
     */
    public  boolean save(Admin admin);
}
